Var/lib/gems/1.8/bin/rake:17: undefined method `require_gem' for main:Object (NoMethodError)?

I do not think you have a recent version of rake there. Rake on line 17 used to have require_gem and that has been replaced with just gem in all versions from the last few years. Find out where $GEM_HOME is pointing, and also apt uninstall your distribution version of Rake.

If your GEM_HOME is something different(it may be empty which is OK), remove the path to the broken rake from your PATH and remove those gems there Also try running gem environment in your shell. In summation, the version of rake that you have in that path is not 0.8.7 it is older, and I do not think rubygems is putting your gems there.

You were right. It was actually a $PATH issue. I had this on /etc/profile: PATH=/var/lib/gems/1.8/bin/:$PATH My guess is that adding that bin directory to $PATH is a mad old hack.

– damog Mar 16 at 18:18.

I do not think you have a recent version of rake there. Rake on line 17 used to have require_gem and that has been replaced with just gem in all versions from the last few years. Find out where $GEM_HOME is pointing, and also apt uninstall your distribution version of Rake.

If your GEM_HOME is something different(it may be empty which is OK), remove the path to the broken rake from your PATH and remove those gems there. Also try running gem environment in your shell. In summation, the version of rake that you have in that path is not 0.8.7 it is older, and I do not think rubygems is putting your gems there.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions